/**
 * 
 * purpose: tab container events...
 * @auth: Ning
 * date: 2009-9-17
 * 
 * */
package com.components.tabcontainer
{
	import core.ease.EaseFade;
	
	import flash.events.Event;

	public class TabContainerEvents extends Event
	{
		//START...
		
		//PROPERTY...
		public static const SECTION_CHANGE:String = "section_change";
		
		public static const SECTION_DISPLAY:String = "section_display";
		
		public var section:EaseFade;
		
		public var preSection:EaseFade;
		
		//CONSTRUCTOR...
		public function TabContainerEvents(type:String,section:EaseFade,preSection:EaseFade = null)
		{
			
			this.section = section;
			
			this.preSection = preSection;
			
			super(type, bubbles, cancelable);
		}
		
		//METHODS...
		
		//clone...
		public override function clone():Event
		{
			
			return new TabContainerEvents(SECTION_CHANGE,section,preSection);
			
		}
		
		
		//END
	}
}